<style>
    .pageFormContent .role_user{width: 150px;float: left;text-align: left;}
</style>
<div class="pageContent">
    <form method="post" action="<?php echo __URL__ . '/role_user/' . $_REQUEST['id']; ?>" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
        <div class="pageFormContent" layoutH="56">
                <?PHP foreach($users as $user): ?>
                    <label class="role_user"><input <?PHP echo empty($user['role_id'])?'':'checked="checked"';?> type="checkbox" name="user_ids[]" value="<?PHP echo $user['id']; ?>"><?PHP echo $user['account'];echo empty($user['nickname'])?'':':'.$user['nickname']; ?></label>
                <?PHP endforeach;?>
        </div>
        <div class="formBar">
            <label style="float:left"><input type="checkbox" group="user_ids[]" class="checkboxCtrl">全选</label>
            <ul>
                <li><div class="button"><div class="buttonContent"><button selecttype="invert" group="user_ids[]" class="checkboxCtrl" type="button">反选</button></div></div></li>
                <li><div class="buttonActive"><div class="buttonContent"><button type="submit">应用</button></div></div></li>
                <li>
                    <div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
                </li>
            </ul>
        </div>
    </form>
</div>
